package controller;

import view.*;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JFrame;
/**
 * this class is to set the action listener of the button add in the main window
 * @author Estelle
 *
 */

public class AddMenuMain implements ActionListener {
	
	JFrame mainWindow;

	public AddMenuMain(JFrame window){
		this.mainWindow = window;
	}

	@Override
	 public void actionPerformed(ActionEvent event) {
		new Formulaire(mainWindow);
		
	 }
	     
    
}
